ExternalFilesInMediaLibrary\Services\GoogleDrive B

Total Complexity 78
Dependencies 15
Dependents 2
Total lines 988
Lines of code 450
Logical lines of code 237
Comment lines 407
Methods 35
Properties 4

Methods 35

Method Rating Maintainability Complexity Lines of code
get_directory_listing()
A
38 12 70
init_google_drive()
A
34 3 104
check_for_oauth_return_url()
S
52 6 24
get_refreshed_token()
S
51 5 27
set_access_token()
S
54 5 21
check_url()
S
56 5 19
get_access_token()
S
58 5 17
set_query_params()
S
62 3 11
initiate_connection()
S
54 2 20
get_global_actions()
S
56 1 19
add_option_for_local_import()
S
67 2 7
add_protocol()
S
69 2 7
preserve_tokens_value()
S
72 2 6
get_instance()
S
72 2 6
get_state()
S
66 2 8
delete_access_token()
S
67 2 8
init()
S
58 1 14
get_directory()
S
82 1 3
get_refresh_token_url()
S
75 1 4
get_description()
S
76 1 3
is_disabled()
S
80 1 3
get_url_mark()
S
82 1 3
get_actions()
S
67 1 8
activation()
S
98 1 1
cli()
S
79 1 3
add_directory_listing()
S
77 1 4
get_settings_tab_slug()
S
82 1 3
get_oauth_slug()
S
82 1 3
disconnect()
S
71 1 6
__clone()
S
98 1 1
get_redirect_uri()
S
75 1 4
get_real_redirect_uri()
S
74 1 4
get_client_id()
S
75 1 4
set_query_vars()
S
76 1 4
__construct()
S
98 1 1